﻿module enterpriseApp {
    'use strict';

    interface IShellScope {
        title: string;
        lastLogin: string;
        addNewUser: () => void;
    }

    export class ShellController implements IShellScope {
        title: string;
        lastLogin: string;
        constructor() {
            var vm = this;
            vm.title = "Shell View Set";
            vm.lastLogin = "N/A";
        }

        addNewUser(): void {
            console.log(":");
        }
    }
    angular
        .module('enterpriseApp')
        .controller('ShellController', ShellController)
}